<?php namespace Modules\Shop\Http\Controllers;


class PmController extends Controller {

    public function getIndex()
    {
        global $_CFG, $ecs, $err, $smarty, $_LANG, $db;

        if (empty($_SESSION['user_id']) || $_CFG['integrate_code'] == 'ecshop') {
            ecs_header('Location:./');
        }

        uc_call("uc_pm_location", array($_SESSION['user_id']));
        //$ucnewpm = uc_pm_checknew($_SESSION['user_id']);
        //setcookie('checkpm', '');

		return view('shop::index');
	}
	
}